Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Strange behavior of OnTouched #298 #340

Merged
merged 9 commits into from
Oct 15, 2024
Merged

fix: Strange behavior of OnTouched #298 #340

merged 9 commits into from
Oct 15, 2024

Conversation

qlli
Copy link
Contributor

@qlli qlli commented Sep 29, 2024

Add lifecycle of touch behaviour, like touchBegin, touched, touchEnd;
Add DbgFlagPerf flag of game, monitoring performance like collision detection in each frame;
Changed the old usage of Touching(something),
(1) if the parameter is a name of a sprite, no life cycle of touching is triggered.
(2) for the other cases, such as edge or mouse parameters, the usage remains.

The folders issue298/ and res/ in test case .zip should be in the same folder.
issue298.zip

@nighca nighca merged commit 1c08777 into goplus:main Oct 15, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants